Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SROA: Ensure that unused structs are preserved in ccall #43408

Merged
merged 4 commits into from
Dec 13, 2021

Conversation

vchuravy
Copy link
Member

Should fix #43402

@vchuravy vchuravy added the compiler:optimizer Optimization passes (mostly in base/compiler/ssair/) label Dec 12, 2021
@vchuravy vchuravy requested review from aviatesk and Keno December 12, 2021 20:49
@mkitti
Copy link
Contributor

mkitti commented Dec 13, 2021

This resolves #43402 for me.

Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com>
@aviatesk aviatesk added the merge me PR is reviewed. Merge when all tests are passing label Dec 13, 2021
@vchuravy vchuravy merged commit cba3abf into master Dec 13, 2021
@vchuravy vchuravy deleted the vc/fix_ccall_preserve branch December 13, 2021 16:46
mkitti added a commit to JaneliaSciComp/HDF5.jl that referenced this pull request Dec 14, 2021
mkitti added a commit to JaneliaSciComp/HDF5.jl that referenced this pull request Dec 15, 2021
@DilumAluthge DilumAluthge removed the merge me PR is reviewed. Merge when all tests are passing label Dec 16, 2021
musm added a commit to JuliaIO/HDF5.jl that referenced this pull request Dec 17, 2021
* Add bzip2, lz4, and zstd filters from HDF5Plugins.jl

* Create Filters interface def, add tests

* Filters return 0 rather than rethrowing error

* Move blosc.jl to H5Zblosc.jl

* Optimize method inference, init, precompile

* Register filters as when dep packages are loaded

* Fix tests for lazy loaded filters

* Move plugin licenses to licenses folder

* Add HHMI copyright to LICENSE.txt

* Remove generic register_filter method

* Apply suggestions from code review for license notices

Co-authored-by: Mustafa M <mus-m@outlook.com>

* Implement generic register_filter on filter type

* Update test/filter.jl

Co-authored-by: Mustafa M <mus-m@outlook.com>

* Define filters API on the type alone

* H5Zblosc, H5Zbzip2, H5Zlz4, H5Zzstd as subdir pkgs

* Fix typos in H5Zlz4.jl

* Use PackageSpec to make dev_embedded_filters Julia 1.3 compatible

* Add Licenses to subpackages

* H5Zbzip2: Add 32-bit Windows support

* Reorganized licenses, create root THIRDPARTY.md

* Debug tests for Julia 1.8

* Revert GC.@preserve due to JuliaLang/julia#43408

* Remove debug for not deleted file in test/external.jl

* Start H5Z* pkgs at 0.1.0

* Update Project.toml

Co-authored-by: Mustafa M <mus-m@outlook.com>

* Update Project.toml

* Add filters as test targets

* Update Project.toml

* Cosmetic changes and instantiate filters packages directly in test file

* Update docs remove external exports

Co-authored-by: Mustafa M <mus-m@outlook.com>
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
)

Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com>
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
)

Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:optimizer Optimization passes (mostly in base/compiler/ssair/)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SROA changes cause memory corruption in HDF5.jl Blosc decompression
5 participants